# Contributor: Coco Liliace <coco@liliace.dev>
# Maintainer: Coco Liliace <coco@liliace.dev>
pkgname=tick
pkgver=1.2.1
pkgrel=0
pkgdesc="A preset-oriented metronome TUI"
url="https://sr.ht/~liliace/tick/"
arch="all"
license="GPL-3.0-only"
makedepends="alsa-lib-dev scdoc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~liliace/tick/archive/$pkgver.tar.gz"

build() {
	make release
	make doc
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}

sha512sums="
ff146e2ca437e6ee640ad0e6fcbcd0d05e5a06e518db37f7d76df82f3d75ab9d7c381e8700c72c8182b73dc54f4a89b468a8f9927cdb31224c548dae8ea3b830  tick-1.2.1.tar.gz
"
